var xmlHttp;

function createXMLHttpRequest() {
    if (window.XMLHttpRequest)
	  {// code for IE7+, Firefox, Chrome, Opera, Safari
	  	xmlHttp=new XMLHttpRequest();

	  }
	else
	  {// code for IE6, IE5
	 	 xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");

	  }

	  if (xmlHttp==null)
	  {
	  	alert ("Browser does not support Ajax HTTP Request");
		return;
	  }
}
//login process
function login(){
    alert('asd');
    var user_name= document.getElementById("username").value;
    var password= document.getElementById("password").value;

    alert(user_name+'  '+password);
    

}